const ModuleUser = {
  state: {
    userInfoStore: {
      userName: '-',
      userId: -1
    }
  },
  getters: {
  },
  mutations: {
    updateUser (state: any, user: any) {
      state.userInfoStore = {
        userName: user.userName,
        userId: user.userId
      }
    }
  },
  actions: {}
}

export default ModuleUser